<template>
  <div class="goods-item">
    <img :src="goodsitem.image" alt="" />
    <div class="title">{{ goodsitem.title }}</div>
  </div>
</template>

<script>
export default {
  props: {
    goodsitem: {
      type: Object,
      default() {
        return {};
      },
    },
  },
};
</script>

<style scoped>
.goods-item {
  text-align: center;
  font-size: 12px;
  margin-bottom: 15px;
}
.title {
  margin-top: 10px;
}
.goods-item img {
  width: 80px;
  height: 80px;
}
</style>